package models

import (
	"gorm.io/gorm"
	"time"
)

type Groups struct {
	Id        uint           `gorm:"column:id;type:bigint(20);primaryKey;not null;" json:"id"`
	One       uint           `gorm:"column:one;type:bigint(20);not null;" json:"one"`
	Other     uint           `gorm:"column:other;type:bigint(30);not null;" json:"other"`
	CreatedAt time.Time      `gorm:"column:created_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"created_at"`
	UpdatedAt time.Time      `gorm:"column:updated_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"updated_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);" json:"deleted_at"`
}
